from PyQt5.QtWidgets import QWidget, QVBoxLayout, QLabel, QTextEdit

class ParserEngine(QWidget):
    def __init__(self):
        super().__init__()
        layout = QVBoxLayout()
        self.display = QTextEdit()
        self.display.setReadOnly(True)
        layout.addWidget(QLabel("解析引擎状态："))
        layout.addWidget(self.display)
        self.setLayout(layout)